<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <!-- 单独写一个图片上传验证 form表单三个属性 必不可少-->
  <form method="post" enctype="multipart/form-data" action="/common/upload" id="forma">
    <input name="file" type="file">
    <input type="submit" value="提交" id="submit">
  </form>
</body>

</html>